<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>地域城市</title>
<link rel="stylesheet" type="text/css" href="style/common.css">
<link rel="stylesheet" type="text/css" href="style/${windowStyle}/easyui/easyui.css">
<link rel="stylesheet" type="text/css" href="style/${windowStyle}/icon.css">
<link rel="stylesheet" type="text/css" href="style/${windowStyle}/common.css">

<link rel="stylesheet" type="text/css" href="style/${windowStyle}/main.css">
<script type="text/javascript" src="js/common/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/common/jquery.easyui.min.js"></script>
<script type="text/javascript" src="js/common/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="js/dict/city.js"></script>
</head>

<body>

<div class="page-hd">
          <div class="page-hd-title">地域城市</div>          
		  <div class="page-hd-title-rcaption"></div>
           <div id="toolbar">
             <div id="toolbar">
                 <div id="search" class="f-l">
                        <input id="search-input" class="easyui-searchbox" searcher="lookup" prompt="新输入关键词" menu="#search-item"></input>
                        <div id="search-item" style="width:120px">
                            <div name="current">当前</div>
                        </div>
                 </div>
                 <div id="toolbar-btn" class="f-l">
                         <a href="#" class="easyui-linkbutton" iconCls="icon-add" id="add">新增</a>
                         <a href="#" class="easyui-linkbutton" iconCls="icon-remove" id="mul-delete">批量删除</a>
                 </div>
          	</div>  	
          </div>
</div>
<div class="page-bd">
        <div class="easyui-layout" style="height:510px;">
		<div region="west"style="width:150px;">
            <ul id="cityTree"></ul>
		</div>
		<div region="center" style="background:#fafafa;">
			 <iframe id="content" scrolling="yes" frameborder="0"  src="dict/city-main.action" style="width:100%;height:100%;"></iframe>
		</div>
	</div> 
</div>

<div id="add-city" icon="icon-save" style="padding:10px;width:450px;height:200px;" modal="true" closed="true" title="新增地域城市">
		
		<form id="addCityForm" method="post" style="pardding:3px">
		<input type="hidden" name="cityID" id = "cityID"/>
		<input type="hidden" name="parentCityID" id = "parentCityID"/>
		<input type="hidden" name="cityTypeID" id = "cityTypeID"/>
		<table width="100%">
  <tr>
    <td>名称：</td>
    <td><input class="easyui-validatebox" type="text" name="cityName"  id="cityName"  required="true"></input></td>
  </tr>
  <tr>
    <td>编号：</td>
    <td><input class="easyui-validatebox" type="text" name="cityCode" required="true"></input></td>
  </tr>
</table>

        </form>
	</div>
</body>
<script type="text/javascript">
  var js = '<%=basePath %>';
</script>

</html>
